package com.fuze.energy.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * @author sepc_
 * @date 7/30/2021 14:21
 */
@ApiModel(value = "HumDataDTO")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class HumDataDTO implements Serializable {
    private static final long serialVersionUID = 3528030056978822486L;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "date", value = "采集时间", example = "2021-07-30 11:55:58")
    private Date date;

    @ApiModelProperty(name = "humData", value = "湿度数据", example = "6.5")
    private Double humData;

}
